//
//  PracticeCollectionViewCell.swift
//  XingCeHelper
//
//  Created by 申铭 on 2022/12/5.
//

import UIKit

let kPracticeCollectionViewCell = "PracticeCollectionViewCell"

class PracticeCollectionViewCell: BaseCollectionViewCell {

    @IBOutlet weak var titleLabel: UILabel!
    
    var model: PracticeCollectionCellModel? {
        didSet {
            titleLabel.text = model?.title
        }
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        let view = UIView()
        view.backgroundColor = .systemGray5
        selectedBackgroundView = view
        setFillet(cornerRadius: 8)
    }

}
